package com.numberone.web.controller.tianyang;

import java.util.List;

import com.numberone.system.util.JsonResult;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;
import com.numberone.common.annotation.Log;
import com.numberone.common.enums.BusinessType;
import com.numberone.system.domain.Tianyangurl;
import com.numberone.system.service.ITianyangurlService;
import com.numberone.framework.web.base.BaseController;
import com.numberone.common.page.TableDataInfo;
import com.numberone.common.base.AjaxResult;
import com.numberone.common.utils.poi.ExcelUtil;

/**
 * 天阳的url图标 信息操作处理
 * 
 * @author numberone
 * @date 2020-09-30
 */
@RestController
@RequestMapping("/api/tianyangurl")
public class TianyangurlController extends BaseController
{
	@Autowired
	private ITianyangurlService tianyangurlService;
	@PostMapping("/get")
	public Object get(){
		List<Tianyangurl> tianyangurls = tianyangurlService.selectTianyangurlList(null);
		return JsonResult.success(tianyangurls);
	}
}
